package com.shopReduce.feign.factory;



import org.springframework.stereotype.Component;

import com.shopReduce.bean.ReduceProgramme;
import com.shopReduce.bean.ShopReduce;
import com.shopReduce.feign.ReduceProgrammeFeign;
import com.shopReduce.feign.ShopReduceFeign;

import feign.hystrix.FallbackFactory;
import shopBean.common.bean.RestResult;
@Component
public class ShopReduceFeignFactory implements FallbackFactory<ShopReduceFeign> {

	public ShopReduceFeign create(Throwable arg0) {
		// TODO Auto-generated method stub
		return new ShopReduceFeign() {

			@Override
			public RestResult insert(ShopReduce shopReduce) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public RestResult list(ShopReduce shopReduce) {
				// TODO Auto-generated method stub
				return null;
			}


			@Override
			public RestResult updateById(ShopReduce shopReduce) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public RestResult deleteById(String id) {
				// TODO Auto-generated method stub
				return null;
			}

			@Override
			public RestResult getApi(String id) {
				// TODO Auto-generated method stub
				return null;
			}
			
		};
	}

}
